//
//  MinorIndexDataFactory.h
//  Chart
//
//  Created by CaoJun on 13-6-13.
//
//

#ifndef __Chart__MinorIndexDataFactory__
#define __Chart__MinorIndexDataFactory__

#include "IndexDataFactory.h"
#include "VOLUME.h"

namespace ytx {
    class MinorIndexDataFactory : public IndexDataFactory
    {
    public:
        MinorIndexDataFactory();
        virtual void factory(const IndexConfig indexConfig);
        virtual IndexData * getIndexData(IndexConfig indexConfig, bool update=false);
        
        IndexData * getVOLUME(IndexConfig indexConfig, bool update=false);
        
        IndexData * getVOLUME(bool update=false);
        
        IndexData * getTuov(IndexConfig indexConfig, bool update=false);
        
        IndexData * getEconomicCalendar();
        
        IndexData* getMACD(IndexConfig indexConfig, bool update=false);
        
        IndexData* getKDJ(IndexConfig indexConfig, bool update=false);
        
        IndexData* getRSI(IndexConfig indexConfig, bool update=false);
        
        IndexData* getBIAS(IndexConfig indexConfig, bool update=false);
        
        //ADDIndex:
        IndexData* getCCI(IndexConfig indexConfig, bool update=false);

    };
}

#endif /* defined(__Chart__MinorIndexDataFactory__) */
